using System;

namespace Toenda.Rails {
	namespace Data {
		/// <summary>
		/// Class ServerPath
		/// </summary>
		public class ServerPath {
			public static ServerPath Self = new ServerPath();

			private string _server_config_path;
			private string _server_path;
			
			/// <summary>
			/// Default Constructor
			/// </summary>
			public ServerPath() {
				this._server_path = @"D:\Development\C#\Zappr\Zappr Photo Management\WebClient\";
				//this._server_path = @"C:\Inetpub\vhosts\zappr.net\httpdocs\";

				this._server_config_path = @"Configuration\Configuration.xml";
			}

			/// <summary>
			/// Get the Configfile
			/// </summary>
			public string Configfile {
				get { return this._server_path + this._server_config_path; }
			}

			/// <summary>
			/// Get the ServerPath
			/// </summary>
			public string Path {
				get { return this._server_path; }
			}
		}
	}
}
